package xu.com.openfeign.component;


import org.springframework.stereotype.Component;
import xu.com.openfeign.clients.UserFeignClient;

@Component
public class UserClientFallback implements UserFeignClient {

    @Override
    public String hello(String name) {
        return "FeignClient调用失败，在这里做异常处理或者降级处理！……";
    }
}